<include file="../Public/header" />
<script src="__PUBLIC__/admin/js/lib/jquery.js"></script>
<script src="./Public/js/ui/jquery.ui.widget.js"></script>
<script src="./Public/js/ui/jquery.ui.progressbar.js"></script>
<style>
.container { margin-top: 5px; height: 50px;}
#progressbar { float: left; width: 300px;}
#msg { float: left; padding-left: 10px; font-size: 16px; }

.ui-widget-content {
  border: 1px solid #dcdcdc;
  background: #ffffff 50% 50% repeat-x;
  color: #222222;
}
.ui-widget {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.1em;
}
.ui-progressbar {
  height: 2em;
  text-align: left;
  overflow: hidden;
}
.ui-progressbar .ui-progressbar-value {
  margin: -1px;
  height: 100%;
}
.ui-widget-header {
  border: 1px solid #aaaaaa;
  background: #1abc9c 50% 50% repeat-x !important;
  color: #222222;
  font-weight: bold;
}
</style>

<script type="text/javascript">
function control(total, currentj, count, t) {
  $("#progressbar").progressbar({
    value: total
  });
  $("#ti").text("任务完成:" + total + "%");
  $("#msg").text(currentj + "/" + count);
  // if (total == 100)
  //   $("#msg").text("进度：任务完成，共生成" + t + count + "页");
}
</script>
</head>

<body>
  <div class="page">
    <!-- <p>{$message}</p> -->
    <p id="ti"></p>
    <div class="container clearfix">
      <div id="progressbar"></div>
      <p id="msg"></p>
    </div>
    <a href="javascript:history.go(-1)" class="btn">返回</a>
  </div>
</body>

</html>
